<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <title>Title</title>
    <%@include file="/common/Common_css.jsp"%>
</head>
<body>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">Modal title</h4>
            </div>
            <div class="modal-body">
                <p>One fine body&hellip;</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="button" onclick="aaaa('#tbl_bill')" class="btn btn-primary">保存修改</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="container" style="margin: 10px auto">

    <div id="toolbar" class="container">
        <div class="row">
            <div class="col-md-10">
                <form class="form-inline">
                    <div class="form-group">
                        <label for="billCode1">订单编号</label>
                        <input type="text" class="form-control" name="billCode" id="billCode1" placeholder="精确查找">
                    </div>
                    <div class="form-group">
                        <label for="productName1">商品名称</label>
                        <input type="email" class="form-control" name="productName" id="productName1" placeholder="模糊查询">
                    </div>
                    <button onclick="setCondition()" type="button" class="btn btn-primary"><span class="glyphicon glyphicon-search"></span>搜索</button>
                </form>
            </div>
            <div class="col-md-1">
                <button type="button" onclick="showModal('添加订单','bill/add')" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span>添加</button>

            </div>
            <div class="col-md-1">
                <button type="button" onclick="batchDel()" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span>批量删除</button>
            </div>
        </div>


    </div>
    <table id="tbl_bill"></table>
</div>
<%@include file="/common/Common_js.jsp"%>
<script src="js/bill/bill.js"></script>
</body>
</html>
